package se.teamscape.client.view;

import se.teamscape.client.presenter.WelcomePresenter;

import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HTML;

/**
 * Default view when user visits site.
 * 
 * @author Andreas Borglin
 * 
 */
public class WelcomeView extends BaseView implements WelcomePresenter.Display {

    private FlowPanel mPanel;

    public WelcomeView() {

    }

    @Override
    public void init() {

        mPanel = new FlowPanel();

        initWidget(mPanel);

    }

    @Override
    public void addText(String text) {

        mPanel.add(new HTML(text));
    }

}
